home *** CD-ROM | disk | FTP | other *** search
- Short: Lock your Amiga by a password ITA-ENG
- Author: pearl_harbor@esseerre.mailshell.com (Stefano Maria Regattin)
- Uploader: pearl_harbor@esseerre.mailshell.com (Stefano Maria Regattin)
- Version: 3.1
- Type: util/boot
- Distribution: OK
-
- Date: Saturday, 7th September 2002
-
- Name of the program: AlbaEng (english version of Alba)
- The reason for this upload is the bugfix of the parameter counting that did
- give impossible tho use only part of these; now the problem is solved.
- I have understood how work the commands DoCopSplit and ReDoCopSplit in Blitz2.
- I cannot say the same for the parameter NumCustoms of the command InitCopList.
- However the program do its job; it fades from black to skylight and viceversa.
- The main usage of the program is to avoid use of your Amiga by unauthorized
- people, locking your Amiga with an access password.
- The best place for it is in your S: drawer; type S:AlbaEng in the last line of
- your User-Startup to execute the program on every boot.
- The first time it is launched it asks the password (8 chars maximum length) and
- saves it in your S: drawer in the file named Password; the next time you boot
- your Amiga, it stops the execution of the User-Startup until you type the
- password you have previously saved.
- Don't worry if you forget the password; you can exclude the program activating
- the CapsLock (the key with the light) and then pressing the Help key when the
- password is asked.
- For a strange reason, but fortunately good for the purpose of the program,
- contrary to it has been written on Blitz2 manual, the program reads and writes a
- file (Password) in BLITZ mode!
-
- DON'T MODIFY YOUR USER-STARTUP BEFORE YOU ARE SURE THAT THE PROGRAM RUNS
- CORRECTLY ON YOUR AMIGA; TO TEST THE PROGRAM RUN IT BEFORE FROM WORKBENCH!
-
- Few year ago I have damaged my 2 megs fast ram expansion and my Commodore Amiga
- 1200 trying to bring the fast ram from 2 to 4 megs by myself; now I have a new
- Amiga Technologies Amiga 1200 with the same fast ram expansion repaired and
- with 4 megs of memory.
- The unique problem is that the battery clock hasn't been repaired and it counts
- badly seconds; every time I boot my Amiga I have to adjust the time.
- For this reason and for the clock accidental resets after a crash, I have used
- the program DateCheck found on a coverdisk of an italian amiga magazine.
- Due several problems with this program, I have decided to add date checking to
- AlbaEng; now the program stores the boot date in the file named LastBootDate in
- your S: drawer; at the next boot it compares the current date with the
- previously saved date and, if the time distance from the two dates is over 1
- day, it launch the program SYS:Prefs/Time.
- Obviously you must have this program to correct the date, otherwise the
- correction will not have place.
- This program was written in Blitz2 on an Amiga 1200 but it should run on any
- Amiga; e-mail me if it don't run on your Amiga of if there are problems of any
- kind.
- I feel so stupid...the reason why the program before didn't run from workbench
- is that I had forgotten to insert the WBStartup command!
- I must admit that Alba don't run on my Amiga 500 v1.2, but I am not surrendered
- and at the moment I am trying to optimize the source code to permit to run Alba
- on my Amiga 500.
- Now the program accepts two parameters: ASKPASSOWRDCHANGE and DATECHECK; I
- think they are self-expliciting; they can be omitted if necessary.
- There are now three new parameters with their values, TOPCOLOUR, BOTTOMCOLOUR
- and TEXTCOLOUR to set the colours for the highest and the lowerst line of the
- screen for the colours fading and for the text; the values for all these must be
- specified as an hexadecimal number from 00 to FF for the red, the green and the
- blue components of the colours; now if all these three colours are the same, the
- text colour is inverted allowing the usage of the program.
- Now you can get random colours for each colour parameter specifing RANDOM
- instead of RRGGBB.
-
- I am not responsible of any damage this program can occurs to your system; you
- use it at your own risk!
-
- Versions history:
- Version 1.0 -> First release on Aminet.
- Version 1.1 -> Now you can go back in typing chars using backspace (the left
- arrow little grey key).
- Version 1.2 -> Removed the bug of unlimited erroneous backspaces.
- Version 1.3 -> Now the program can be tested directly from workbench.
- Version 1.4 -> Added date check.
- Version 1.5 -> Now the program is compatible with NTSC Amigas.
- Version 1.6 -> Now this english version of the program runs properly on NTSC
- Amigas.
- Version 1.7 -> Now date check works properly.
- Version 1.8 -> Now the colours fading appears correctly on not AGA Amigas, but
- there is only a fixed fade.
- Version 1.9 -> Now the date check is disabled if there isn't the Time prog in
- SYS:Prefs.
- Version 2.0 -> Removed a bug in date check.
- Version 2.1 -> Now the input text position height is correct either a PAL or a
- NTSC screen is opened.
- Version 2.2 -> Added qualifier keys filter and ASKPASSWORDCHANGE and DATECHECK
- parameters, and now the password can be saved from a text
- editor.
- Version 2.3 -> Now the RIGHT-AMIGA key is recognized.
- *******************************************************************
- * Thanks to Michael Hendren for the suggestions that have brought *
- * up to this version! *
- *******************************************************************
- Version 2.4 -> Now all the numpad keys are recognized.
- *******************************************************************
- * Thanks to Michael Hendren for the suggestions that have brought *
- * up to this version! *
- *******************************************************************
- Version 2.5 -> Now you can type the (new) password with the qualifier keys
- pressed.
- *******************************************************************
- * Thanks to Michael Hendren for the suggestions that have brought *
- * up to this version! *
- *******************************************************************
- Version 2.6 -> Now you can set the colours for the screen colour fading as you
- like by the parameters TOPCOLOUR and BOTTOMCOLOUR; if you leave
- these out, the screen will be totally black!
- Version 2.7 -> Added the selection of the text colour by the parameter
- TEXTCOLOUR.
- Version 2.8 -> Now the fading takes place for any combination of the red, the
- green and the blue components of the two faded colours, not
- only for the highest value (FF).
- Version 2.9 -> Now TEXTCOLOUR is inverted if specified and equal to both the
- TOPCOLOUR and BOTTOMCOLOUR keywords.
- Version 3.0 -> Now you can specify RANDOM instead of RRGGBB to have a random
- colour for TOPCOLOUR, BOTTOMCOLOUR and TEXTCOLOUR colour
- parameters.
- Version 3.1 -> Fixed a bug in the parameter counting that did give impossible to
- use only part of these.
-
- Note: if you want the source code of the program, make an international money
- order of 10 Euros payable to:
-
- Stefano Maria Regattin
- piazza Pietro Gasparri, 4/U
- 20161 Milano Italia (Italy)
-
- specifing that you want the source code of AlbaENG.
- At end see my homepage on the following Internet address:
- http://space.tin.it/clubnet/aregat/
- The following is the same text in italian:
-
- Data: sabato, 7 settembre 2002
-
- Nome del programma: Alba
- Il motivo di questo caricamento è la correzione di un baco che rendeva
- impossibile usare solo parte di questi: ora il problema è risolto.
- Ho capito come funzionano i comandi DoCopSplit e ReDoCopSplit in Blitz2.
- Non posso dire lo stesso per il parametro NumCustoms del comando InitCopList.
- Comunque il programma fa il suo lavoro: fa la dissolvenza dal nero alla luce del
- cielo e viceversa.
- Lo scopo principale del programma è quello di impedire l'uso del vostro Amiga a
- persone non autorizzate, bloccando il vostro Amiga con una parola d'accesso.
- Il miglior posto per questo programma è nel vostro cassetto S:; digitate S:Alba
- nell'ultima linea della vostra User-Startup per eseguire il programma ad ogni
- boot.
- La prima volta che viene lanciato, il programma chiede la parola chiave (8
- caratteri massimo) e la salva nel vostro cassetto S: nel file chiamato
- ParolaChiave; nei boot successivi blocca l'esecuzione della User-Startup finché
- non digitate la parola chiave precedentemente salvata.
- Non preoccupatevi se vi dimenticate la password; potete escludere il programma
- attivando il CapsLock (il tasto con la lucina) e premendo successivamente il
- tasto Help quando vi viene chiesta la parola chiave.
- Per qualche strana ragione, ma fortunatamente buona per lo scopo del programma,
- è che, diversamente da quanto è stato scritto sul manale di Blitz2, il programma
- legge e scrive un file (ParolaChiave) in modalita BLITZ!
-
- NON MODIFICATE LA USER-STARTUP PRIMA DI ESSERE SICURI CHE IL PROGRAMMA GIRI
- CORRETTAMENTE; PER PROVARLO LANCIATELO PRIMA DAL WORKBENCH!
-
- Qualche anno fa ho danneggiato la mia espansione di memoria fast da 2 mega ed il
- mio Amiga 1200 Commodore tentando di portare la memoria fast da 2 a 4 mega da
- solo; ora ho un nuovo Amiga 1200 di Amiga Technologies con la stessa espansione
- di memoria riparata e portata a 4 mega.
- L'unico problema è che l'orologio con la batteria tampone non è stato riparato e
- conta male i secondi; ogni volta che faccio il boot devo regolare l'ora.
- Per questa ragione e per gli azzeramenti dell'orologio dopo un crash del
- sistema, ho usato il programma DateCheck trovato su un dischetto di un
- numero di Amiga Magazine.
- Per vari problemi con questo programma, ho deciso di aggiungere il controllo
- della data ad Alba; ora il programma memorizza la data di boot nel file
- DataUltimoBoot nel vostro cassetto S:; al successivo boot confronta la data
- corrente con la data precedentemente salvata e, se la distanza tra le due date
- è di oltre un giorno, lancia il programma SYS:Prefs/Time.
- Ovviamente dovete avere questo programma per correggere la data, altrimenti la
- correzzione non avrà luogo.
- Questo programma è stato scritto in Blitz2 sul mio Amiga 1200 ma dovrebbe
- funzionare su qualsiasi Amiga; contattatemi per posta elettronica se così non
- fosse o per problemi di qualsiasi genere.
- Mi sento così stupido...la ragione per cui il programma prima non girava dal
- workbench è che avevo dimenticato di inserire il comando WBStartup!
- Devo ammettere che Alba non funziona sul mio Amiga 500 v1.2, ma io non mi sono
- arreso ed al momento sto ottimizzando il sorgente per permettere ad Alba di
- girare sul mio Amiga 500.
- Ora il programma accetta due parametri: ASKPASSWORDCHANGE e DATECHECK; io credo
- che siano autoesplicativi; per chi non sapesse l'inglese ASKPASSWORDCHANGE vuol
- dire CHIEDI SE SI VUOLE CAMBIARE LA PAROLA CHIAVE e DATECHECK vuol dire
- CONTROLLA LA DATA; questi parametri possono essere omessi se necessario.
- Ci sono ora tre nuovi parametri con i rispettivi valori, TOPCOLOUR, BOTTOMCOLOUR
- e TEXTCOLOUR, per impostare i colori per la linea piu' alta e per quella piu'
- bassa dello schermo per la dissolvenza dei colori e per il colore del testo; i
- valori per entrambi devono essere specificati come un numero esadecimale da 00 a
- FF per le componenti del rosso, del verde e del blu dei colori; ora se tutti
- questi tre colori sono identici tra loro, il colore del testo viene invertito
- per permettere l'utilizzo del programma.
- Ora potete ottenere dei colori a caso per ognuno dei tre parametri di colore
- specifcando RANDOM al posto di RRGGBB.
-
- Non sono responsabile dei danni che questo programma può arrecare al vostro
- sistema; lo usate a vostro esclusivo rischio!
-
- Storia delle versioni:
- Versione 1.0 -> Prima edizione su Aminet.
- Versione 1.1 -> Ora potete tornare indietro nella digitazione usando il tasto
- backspace (quello grigio piccolo con la freccia a sinistra).
- Versione 1.2 -> Risolto il problema dell'esecuzione senza limiti del tasto
- backspace.
- Versione 1.3 -> Ora il programma può essere testato direttamente dal workbench.
- Versione 1.4 -> Aggiunto il controllo della data.
- Versione 1.5 -> Ora il programma è compatibile con gli Amiga NTSC
- Versione 1.6 -> Ora la versione inglese del programma funziona correttamente
- sugli Amiga NTSC.
- Versione 1.7 -> Ora il controllo della data funziona appropriatamente.
- Versione 1.8 -> Ora la sfumatura di colori appare correttamente anche sugli
- Amiga non AGA, ma la sfumatura è fissa.
- Versione 1.9 -> Ora il contollo della data non viene eseguito se non c'è il
- programma Time in SYS:Prefs.
- Versione 2.0 -> Rimosso un baco nel controllo della data.
- Versione 2.1 -> Ora l'altezza del testo di input è corretta sia che venga
- aperto uno schermo PAL od uno schermo NTSC.
- Versione 2.2 -> Aggiunto il filtro per i tasti qualificatori ed i parametri
- ASKPASSWORDCHANGE e DATECHECK.
- *****************************************************************
- * Grazie a Michael Hendren per i suggerimenti che hanno portato *
- * a questa versione! *
- *****************************************************************
- Versione 2.3 -> Ora il tasto AMIGA-DESTRO viene riconosciuto.
- *****************************************************************
- * Grazie a Michael Hendren per i suggerimenti che hanno portato *
- * a questa versione! *
- *****************************************************************
- Versione 2.4 -> Ora vengono riconosciuti anche tutti i tasti del tasterino
- numerico.
- *****************************************************************
- * Grazie a Michael Hendren per i suggerimenti che hanno portato *
- * a questa versione! *
- *****************************************************************
- Versione 2.5 -> Ora potete digitare la (nuova) parola chiave tenendo premuti i
- Tasti qualificatori.
- *****************************************************************
- * Grazie a Michael Hendren per i suggerimenti che hanno portato *
- * a questa versione! *
- *****************************************************************
- Versione 2.6 -> Ora potete scegliere i colori per la dissolvenza di colori dello
- schermo come preferite grazie ai parametri TOPCOLOUR e
- BOTTOMCOLOUR; se voi li omettete, lo schermo sarà completamente
- nero!
- Versione 2.7 -> Aggiunta la selezione del colore del testo grazie al parametro
- TEXTCOLOUR.
- Versione 2.8 -> Ora la dissolvenza ha luogo per qualsiasi combinazione delle
- componenti del rosso, del verde e del blu dei due colori, non
- solo per il valore piu' alto (FF).
- Versione 2.9 -> Ora il colore del testo TEXTCOLOUR viene invertito se
- specificato ed uguale ad entrambi i colori TOPCOLOUR e
- BOTTOMCOLOUR.
- Versione 3.0 -> Ora potete specificare RANDOM al posto di RRGGBB per avere dei
- colori casuali per i parametri di colore TOPCOLOUR, BOTTOMCOLOUR
- e TEXTCOLOUR.
- Versione 3.1 -> Fissato un baco nel conteggio dei parametri che rendeva
- impossibile usare solo parte di questi.
-
- Nota: se volete il sorgente del programma, fate un vaglia ordinario di 10 Euro
- pagabile a:
-
- Stefano Maria Regattin
- piazza Pietro Gasparri, 4/U
- 20161 Milano Italia (Italy)
-
- specificando che volete il sorgente di Alba.
- Per finire guardate la mia pagina su Internet al seguente indirizzo:
- http://space.tin.it/clubnet/aregat/
-
- Ciao!
-